  /**
   * Generate time : 2016-04-27 9:57:42
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.ck.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCKFH 
 * table comment : 防洪设施检查 
 */
public class ZMCKFH extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdYjsfId = " ";		/* 雨季三防主表ID*/
	private String fdFhssName = " ";		/* 防洪设施名称*/
	private String fdFhssGm = " ";		/* 防洪设施工程规模*/
	private String fdCurrentDate = " ";		/* 当前日期*/
	private String fdFhssProblem = " ";		/* 存在问题*/
	private String fdFhssJcr = " ";		/* 检查人*/
	private String fdFhssTime = " ";		/* 检查时间*/
	private String fdDepartmentId = " ";		/* 责任单位ID*/
	private String fdDepartment = " ";		/* 责任单位*/
	private String fdPeopleId = " ";		/* 责任人ID*/
	private String fdPeopleName = " ";		/* 责任人*/
	private String fdSuggestion = " ";		/* 处理意见*/
	private String fdFhssWcsj = " ";		/* 计划整改完成时间*/
	private String fdStatus = " ";		
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdYjsfId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("雨季三防主表ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFhssName");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("防洪设施名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFhssGm");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("防洪设施工程规模");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCurrentDate");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("当前日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFhssProblem");
	eiColumn.setFieldLength(200);	
	eiColumn.setDescName("存在问题");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFhssJcr");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("检查人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFhssTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("检查时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDepartmentId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("责任单位ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdDepartment");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("责任单位");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPeopleId");
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("责任人ID");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdPeopleName");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("责任人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSuggestion");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("处理意见");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdFhssWcsj");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("计划整改完成时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdStatus");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName(" ");
	eiMetadata.addMeta(eiColumn);
	

	}
	/**
	 * the constructor
	 */
	public ZMCKFH() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdYjsfId - 雨季三防主表ID
	 * @return the fdYjsfId
	 */
	public String getFdYjsfId() {
		return this.fdYjsfId;
	}
	
	/**
	 * set the fdYjsfId - 雨季三防主表ID
	 */
	public void setFdYjsfId(String fdYjsfId) {
		this.fdYjsfId = fdYjsfId;
	}
	/**
	 * get the fdFhssName - 防洪设施名称
	 * @return the fdFhssName
	 */
	public String getFdFhssName() {
		return this.fdFhssName;
	}
	
	/**
	 * set the fdFhssName - 防洪设施名称
	 */
	public void setFdFhssName(String fdFhssName) {
		this.fdFhssName = fdFhssName;
	}
	/**
	 * get the fdFhssGm - 防洪设施工程规模
	 * @return the fdFhssGm
	 */
	public String getFdFhssGm() {
		return this.fdFhssGm;
	}
	
	/**
	 * set the fdFhssGm - 防洪设施工程规模
	 */
	public void setFdFhssGm(String fdFhssGm) {
		this.fdFhssGm = fdFhssGm;
	}
	/**
	 * get the fdCurrentDate - 当前日期
	 * @return the fdCurrentDate
	 */
	public String getFdCurrentDate() {
		return this.fdCurrentDate;
	}
	
	/**
	 * set the fdCurrentDate - 当前日期
	 */
	public void setFdCurrentDate(String fdCurrentDate) {
		this.fdCurrentDate = fdCurrentDate;
	}
	/**
	 * get the fdFhssProblem - 存在问题
	 * @return the fdFhssProblem
	 */
	public String getFdFhssProblem() {
		return this.fdFhssProblem;
	}
	
	/**
	 * set the fdFhssProblem - 存在问题
	 */
	public void setFdFhssProblem(String fdFhssProblem) {
		this.fdFhssProblem = fdFhssProblem;
	}
	/**
	 * get the fdFhssJcr - 检查人
	 * @return the fdFhssJcr
	 */
	public String getFdFhssJcr() {
		return this.fdFhssJcr;
	}
	
	/**
	 * set the fdFhssJcr - 检查人
	 */
	public void setFdFhssJcr(String fdFhssJcr) {
		this.fdFhssJcr = fdFhssJcr;
	}
	/**
	 * get the fdFhssTime - 检查时间
	 * @return the fdFhssTime
	 */
	public String getFdFhssTime() {
		return this.fdFhssTime;
	}
	
	/**
	 * set the fdFhssTime - 检查时间
	 */
	public void setFdFhssTime(String fdFhssTime) {
		this.fdFhssTime = fdFhssTime;
	}
	/**
	 * get the fdDepartmentId - 责任单位ID
	 * @return the fdDepartmentId
	 */
	public String getFdDepartmentId() {
		return this.fdDepartmentId;
	}
	
	/**
	 * set the fdDepartmentId - 责任单位ID
	 */
	public void setFdDepartmentId(String fdDepartmentId) {
		this.fdDepartmentId = fdDepartmentId;
	}
	/**
	 * get the fdDepartment - 责任单位
	 * @return the fdDepartment
	 */
	public String getFdDepartment() {
		return this.fdDepartment;
	}
	
	/**
	 * set the fdDepartment - 责任单位
	 */
	public void setFdDepartment(String fdDepartment) {
		this.fdDepartment = fdDepartment;
	}
	/**
	 * get the fdPeopleId - 责任人ID
	 * @return the fdPeopleId
	 */
	public String getFdPeopleId() {
		return this.fdPeopleId;
	}
	
	/**
	 * set the fdPeopleId - 责任人ID
	 */
	public void setFdPeopleId(String fdPeopleId) {
		this.fdPeopleId = fdPeopleId;
	}
	/**
	 * get the fdPeopleName - 责任人
	 * @return the fdPeopleName
	 */
	public String getFdPeopleName() {
		return this.fdPeopleName;
	}
	
	/**
	 * set the fdPeopleName - 责任人
	 */
	public void setFdPeopleName(String fdPeopleName) {
		this.fdPeopleName = fdPeopleName;
	}
	/**
	 * get the fdSuggestion - 处理意见
	 * @return the fdSuggestion
	 */
	public String getFdSuggestion() {
		return this.fdSuggestion;
	}
	
	/**
	 * set the fdSuggestion - 处理意见
	 */
	public void setFdSuggestion(String fdSuggestion) {
		this.fdSuggestion = fdSuggestion;
	}
	/**
	 * get the fdFhssWcsj - 计划整改完成时间
	 * @return the fdFhssWcsj
	 */
	public String getFdFhssWcsj() {
		return this.fdFhssWcsj;
	}
	
	/**
	 * set the fdFhssWcsj - 计划整改完成时间
	 */
	public void setFdFhssWcsj(String fdFhssWcsj) {
		this.fdFhssWcsj = fdFhssWcsj;
	}
	/**
	 * get the fdStatus 
	 * @return the fdStatus
	 */
	public String getFdStatus() {
		return this.fdStatus;
	}
	
	/**
	 * set the fdStatus 
	 */
	public void setFdStatus(String fdStatus) {
		this.fdStatus = fdStatus;
	}
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdYjsfId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdYjsfId")), fdYjsfId));
		setFdFhssName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFhssName")), fdFhssName));
		setFdFhssGm(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFhssGm")), fdFhssGm));
		setFdCurrentDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCurrentDate")), fdCurrentDate));
		setFdFhssProblem(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFhssProblem")), fdFhssProblem));
		setFdFhssJcr(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFhssJcr")), fdFhssJcr));
		setFdFhssTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFhssTime")), fdFhssTime));
		setFdDepartmentId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepartmentId")), fdDepartmentId));
		setFdDepartment(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdDepartment")), fdDepartment));
		setFdPeopleId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPeopleId")), fdPeopleId));
		setFdPeopleName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdPeopleName")), fdPeopleName));
		setFdSuggestion(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSuggestion")), fdSuggestion));
		setFdFhssWcsj(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdFhssWcsj")), fdFhssWcsj));
		setFdStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdStatus")), fdStatus));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdYjsfId",StringUtils.toString(fdYjsfId, eiMetadata.getMeta("fdYjsfId")));	
			map.put("fdFhssName",StringUtils.toString(fdFhssName, eiMetadata.getMeta("fdFhssName")));	
			map.put("fdFhssGm",StringUtils.toString(fdFhssGm, eiMetadata.getMeta("fdFhssGm")));	
			map.put("fdCurrentDate",StringUtils.toString(fdCurrentDate, eiMetadata.getMeta("fdCurrentDate")));	
			map.put("fdFhssProblem",StringUtils.toString(fdFhssProblem, eiMetadata.getMeta("fdFhssProblem")));	
			map.put("fdFhssJcr",StringUtils.toString(fdFhssJcr, eiMetadata.getMeta("fdFhssJcr")));	
			map.put("fdFhssTime",StringUtils.toString(fdFhssTime, eiMetadata.getMeta("fdFhssTime")));	
			map.put("fdDepartmentId",StringUtils.toString(fdDepartmentId, eiMetadata.getMeta("fdDepartmentId")));	
			map.put("fdDepartment",StringUtils.toString(fdDepartment, eiMetadata.getMeta("fdDepartment")));	
			map.put("fdPeopleId",StringUtils.toString(fdPeopleId, eiMetadata.getMeta("fdPeopleId")));	
			map.put("fdPeopleName",StringUtils.toString(fdPeopleName, eiMetadata.getMeta("fdPeopleName")));	
			map.put("fdSuggestion",StringUtils.toString(fdSuggestion, eiMetadata.getMeta("fdSuggestion")));	
			map.put("fdFhssWcsj",StringUtils.toString(fdFhssWcsj, eiMetadata.getMeta("fdFhssWcsj")));	
			map.put("fdStatus",StringUtils.toString(fdStatus, eiMetadata.getMeta("fdStatus")));	
			
		return map;
	
	}
}